from flask import Blueprint
from flask_restx import Api

# 创建蓝图
admin_bp = Blueprint('admin_v1', __name__)

# 创建统一的Flask-RESTX Api实例
api = Api(admin_bp, doc=False, version='1.0', title='Admin API', description='管理员API')

# 导入所有模块，让它们注册命名空间
from . import auth
from . import admins
from . import roles  
from . import menus
from . import users
from . import departments
from . import dictionaries
from . import user_review
from . import banners 